package com.ecoolex.ying.space.core.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ecoolex.framework.common.pojo.Page;
import com.ecoolex.ying.space.core.mapper.PushMessageMapper;
import com.ecoolex.ying.space.entity.PushMessage;

public interface PushMessageDAO extends PushMessageMapper {
	
	long countByDate(@Param("now") Date now);
	
	List<PushMessage> queryByDate(@Param("now") Date now,@Param("page") Page page);
}